﻿namespace WebAPI.Common
{
    public class QueryParameter<T> where T : class
    {
        public T data { get; set; } //查询参数
        public int pageNum { get; set; } = 1;
        public int pageSize { get; set; } = 10;
        public int count { get; set; } = 0;
        /// <summary>
        /// 排序列
        /// </summary>
        public string sort { get; set; } = "Id";
        /// <summary>
        /// 排序类型
        /// </summary>
        public string sortType { get; set; } = "desc";
    }
}
